import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/pages/Hello'
import Home from '@/pages/Home.vue'
import User from '@/pages/User.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/user',
      name: 'User',
      component: User
    },
    {
      path: '/hello',
      name: 'Hello',
      component: Hello
    }
  ]
})
